/////////////////////////////////////////////////////////////////////////////
// Name:        wxmudauinotebook.h
// Purpose:     
// Author:      Stephen Whittle
// Modified by: 
// Created:     06/07/2009 18:47:09
// RCS-ID:      
// Copyright:   
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _WXMUDAUINOTEBOOK_H_
#define _WXMUDAUINOTEBOOK_H_


/*!
 * Includes
 */

////@begin includes
#include "wx/aui/auibook.h"
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
class wxMudAuiNotebook;
class wxMudTextCtrl;
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_AUINOTEBOOK 10009
#define ID_TEXTCTRL1 10010
#define SYMBOL_WXMUDAUINOTEBOOK_STYLE wxAUI_NB_TOP|wxAUI_NB_TAB_SPLIT|wxAUI_NB_TAB_MOVE|wxAUI_NB_TAB_EXTERNAL_MOVE|wxAUI_NB_SCROLL_BUTTONS|wxAUI_NB_CLOSE_BUTTON
#define SYMBOL_WXMUDAUINOTEBOOK_IDNAME ID_AUINOTEBOOK
#define SYMBOL_WXMUDAUINOTEBOOK_SIZE wxDefaultSize
#define SYMBOL_WXMUDAUINOTEBOOK_POSITION wxDefaultPosition
////@end control identifiers
#define wxID_RENAME 6574


/*!
 * wxMudAuiNotebook class declaration
 */

class wxMudAuiNotebook: public wxAuiNotebook
{    
    DECLARE_DYNAMIC_CLASS( wxMudAuiNotebook )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    wxMudAuiNotebook();
    wxMudAuiNotebook(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxAUI_NB_DEFAULT_STYLE);

    /// Creation
    bool Create(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxAUI_NB_DEFAULT_STYLE);

    /// Destructor
    ~wxMudAuiNotebook();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin wxMudAuiNotebook event handler declarations

////@end wxMudAuiNotebook event handler declarations

////@begin wxMudAuiNotebook member function declarations

    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end wxMudAuiNotebook member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin wxMudAuiNotebook member variables
    wxMudTextCtrl* m_Pane1;
////@end wxMudAuiNotebook member variables
void OnTabRightClick( wxAuiNotebookEvent& event );
void OnRenameTabEvent (wxCommandEvent & event);
int currentSelection;
};

#endif
    // _WXMUDAUINOTEBOOK_H_
